Search results
9 packages found
An ESnext spec-compliant `String.prototype.isWellFormed` shim/polyfill/replacement that works as far down as ES3.
- javascript
- ecmascript
- polyfill
- shim
- es-shim API
- unicode
- string
- surrogate
- pair
- well-formed
- String.prototype.isWellFormed
An ESnext spec-compliant `String.prototype.toWellFormed` shim/polyfill/replacement that works as far down as ES3.
- javascript
- ecmascript
- polyfill
- shim
- es-shim API
- unicode
- string
- surrogate
- pair
- well-formed
- String.prototype.toWellFormed
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Test if a position in a string marks the start of a UTF-16 surrogate pair.
a regular expression that matches all the surrogate pairs and combining-marked characters in a string
Return a regular expression to match a UTF-16 surrogate pair.
Test if a position in a string marks the start of a UTF-16 surrogate pair.
Return a regular expression to match an unpaired UTF-16 surrogate.
Surrogate pair converter with dev-friendly source code.